package cn.wolfcode.luowowo.query;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class TravelObjcet extends QueryObject {
    private String destId;
    //旅游天数
    private int dayType = -1;
    //人均消费
    private int perExpendType = -1;
    //最新游记
    private int orderType = 1;
    //旅游天数
    public TravelCondition getDay(){
        return TravelCondition.DAY_TYPE.get(dayType);
    }
    //人均消费
    public TravelCondition getExpend(){
        return TravelCondition.EXPEND_TYPE.get(perExpendType);
    }
}
